package com.xiashitech.apiservice.allmem;

import com.xiashitech.apiservice.dto.MetaDataDB;
import com.xiashitech.apiservice.dto.MetaDataDBService;
import com.xiashitech.interfaces.apiservice.dto.base.Table;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

@Getter
@Setter
@Builder
public class WholeDbMemory {
    List<MetaDataDBService> metaDataDBServices;
    List<MetaDataDB> metaDataDBS;
    ConcurrentHashMap<String, String> tableIdMap; // 表的 FullyQualifiedName，表的id（uuid）
    ConcurrentHashMap<String, Table> userAuthTableMap; // 表的 systemId.userId，<tablename, Table>
}
